drivers: ufs: Extend the delay after reset to wait for some slower chips
authorJohn Stultz <[email protected]>
Mon, 13 May 2019 23:56:19 +0000 (16:56 -0700)
committerJohn Stultz <[email protected]>
Tue, 14 May 2019 00:11:07 +0000 (17:11 -0700)
commitcbebadf59534d3d7fffb78ae3f997e9e062a3d1a
treea51e5a8b467963a4b8043d3ebba5b4a09c94ff4f
parentc33aa45f4400bc7c09fed1300bc59e0e70d36bd8
drivers: ufs: Extend the delay after reset to wait for some slower chips

We've seen issues with some THG based UFS chips, where
after reset the LUNs don't always enumerate properly.

After some debugging, we found that extending the mdelay
here seems to resolve the issue by giving the chips enough
time to complete reset.

Change-Id: I848f810b2438ed6ad3d33db614c61d2cef9ac400
Signed-off-by: John Stultz <[email protected]>
drivers/ufs/ufs.c